package com.cian.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="子系统传给存储页的信息报", description="子服务器送前端Stock界面的数据报")
public class StockDTO {
    @ApiModelProperty(value = "商品的图片地址")
    private String path;
    @ApiModelProperty(value = "详细商品的id")
    private Integer coId;
    @ApiModelProperty(value = "商品的名称")
    private String coName;
    @ApiModelProperty(value = "商品价格")
    private Double price;
    @ApiModelProperty(value = "商品存量")
    private Integer amount;
    @ApiModelProperty(value = "商品的活动id，用字符串，连接")
    private String activityId;
    @ApiModelProperty(value = "表示查询到的总数")
    private Integer count;
    @ApiModelProperty(value = "一页最大的数量")
    private Integer pageMaxNum;
}
